home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / size / RCS / size.h,v < prev    next >
Encoding:
Text File  |  1989-07-27  |  2.2 KB  |  122 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     89.07.26.23.45.34;  author rab;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     89.07.19.17.16.04;  author rab;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     89.05.16.23.52.31;  author jhh;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @Added support for ds3100.
  32. @
  33. text
  34. @/*
  35.  * size.h --
  36.  *
  37.  *    Declarations for the size program. To port this program to a new
  38.  *    machine you have to define HOST_FMT to be the format 
  39.  *    of the new host. Look at fmt.h for supported host formats.
  40.  *
  41.  * Copyright 1989 Regents of the University of California
  42.  * Permission to use, copy, modify, and distribute this
  43.  * software and its documentation for any purpose and without
  44.  * fee is hereby granted, provided that the above copyright
  45.  * notice appear in all copies.  The University of California
  46.  * makes no representations about the suitability of this
  47.  * software for any purpose.  It is provided "as is" without
  48.  * express or implied warranty.
  49.  *
  50.  * $Header: /a/newcmds/size/RCS/size.h,v 1.2 89/07/19 17:16:04 rab Exp Locker: rab $ SPRITE (Berkeley)
  51.  */
  52.  
  53. #ifndef _SIZE
  54. #define _SIZE
  55.  
  56. #include <sprite.h>
  57. #include <stdio.h>
  58. #include <stdlib.h>
  59. #include <fmt.h>
  60.  
  61.  
  62. #define HEADERSIZE    100
  63.  
  64. /*
  65.  * A rather awkward way of determining the host machine type. There should
  66.  * be one entry for each machine this program runs on.
  67.  */
  68. #if (defined(sun2) || defined(sun3))
  69. #define HOST_FMT FMT_68K_FORMAT
  70. #elif defined(spur)
  71. #define HOST_FMT FMT_SPUR_FORMAT
  72. #elif defined(ds3100)
  73. #define HOST_FMT FMT_MIPS_FORMAT
  74. #else
  75. #define HOST_FMT FMT_68K_FORMAT
  76. #endif
  77.  
  78. extern int hostFmt;
  79.  
  80. /*
  81.  * Routines to print out size of object file.
  82.  */
  83. extern ReturnStatus    Print68k();
  84. extern ReturnStatus    PrintSpur();
  85. extern ReturnStatus     PrintMips();
  86.  
  87. #endif /* _SIZE */
  88.  
  89. @
  90.  
  91.  
  92. 1.2
  93. log
  94. @added support for ds3100
  95. @
  96. text
  97. @d17 1
  98. a17 1
  99.  * $Header: /a/newcmds/size/RCS/size.h,v 1.1 89/05/16 23:52:31 jhh Exp Locker: rab $ SPRITE (Berkeley)
  100. d37 1
  101. a37 1
  102. #elif (defined(spur))
  103. d39 1
  104. a39 1
  105. #elif (defined(ds3100)
  106. @
  107.  
  108.  
  109. 1.1
  110. log
  111. @Initial revision
  112. @
  113. text
  114. @d17 1
  115. a17 1
  116.  * $Header: /sprite/users/jhh/src/size/RCS/size.h,v 1.1 89/03/30 16:34:53 jhh Exp $ SPRITE (Berkeley)
  117. d39 2
  118. d52 1
  119. a52 1
  120.  
  121. @
  122.